import request from '@/util/request.js'
/**
 * 微信登录
 */
export function wechatLogin(code){
	return request.get('/wechatLogin',{
		code: code
	})
}

/**
 * 发送短信验证码
 */
export function sendSMSCode(phone){
	return request.get('/sendCode',{
		phone: phone
	})
}

// export function sendSMSCode(phone){
// 	return request.get('/sendCodeNew',{
// 		phone: phone
// 	})
// }

/**
 * 绑定手机号
 */
export function bindPhone(phone,code){
	return request.get('/bindPhone',{
		phone: phone,
		code: code
	})
}


